# @Version        : 1.0
# @Update Time    : 2025/10/13 23:54
# @File           : __init__.py.py
# @IDE            : PyCharm
# @Desc           : 文件描述信息

# from fastapi import Depends, Request
#
# from authx.dependencies.oauth2 import oauth2_required
#
#
# def get_current_user(login_type: str = "login"):
#     async def get_current_user_inner(
#         request: Request, token: str = Depends(oauth2_required)
#     ):
#         pass
#
#     return get_current_user_inner
#
#
# def get_current_user_optional(login_type: str = "login"):
#     async def get_current_user_inner(
#         request: Request, token: str = Depends(oauth2_required)
#     ):
#         pass
#
#     return get_current_user_inner
